package com.icloud.system.boot.dto;


import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("添加前台客户参数")
@Data
public class AddAppCustomerDto {
    @ApiModelProperty(value = "用户名", required = true)
    @NotEmpty(message = ValidateConstant.NOT_EMPTY)
    private String username;

    @ApiModelProperty(value = "登陆密码", required = true)
    @NotEmpty(message = ValidateConstant.NOT_EMPTY)
    private String password;

    @ApiModelProperty("邀请码")
    private String inviteCode;
}
